//
//  ZZUserInfoCell.h
//  QQplayground
//
//  Created by zhangxy on 2018/6/7.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavTypeEntity.h"

typedef NS_ENUM(NSInteger,ZZUserInfoHeaderType) {
    ZZHeaderTypeTiezi     = 1,
    ZZHeaderTypeMimi      = 2,
    ZZHeaderTypeMore      = 3,
    ZZHeaderTypeChangeAvatar      = 4,
    ZZHeaderTypeSucai     = 5,
    ZZHeaderTypeOpenVC     = 6,
    ZZHeaderTypeZan     = 7
};

typedef NS_ENUM(NSInteger,UserPageDataType) {
    UserPageDataDefault = 0,
    
    UserPageDataSucai = 1,
    UserPageDataTopic = 2,
    UserPageDataMimi = 3
};

@protocol  ZZUserInfoHeaderDelegate <NSObject>

-(void)onHeaderCellItemClick:(ZZUserInfoHeaderType ) type obj:(id) senderObj;

-(void)onMenuClick:(NSInteger) tag  obj:(id) senderObj;

@end

@interface ZZUserInfoCell : UITableViewCell

@property (weak, nonatomic) id<ZZUserInfoHeaderDelegate> delegate;
@property (weak, nonatomic) User *tempUser;


@property (weak, nonatomic) IBOutlet UIImageView *imgAvatar;


@property (weak, nonatomic) IBOutlet UIButton *btnZan;

@property (weak, nonatomic) IBOutlet UILabel *labName;

@property (weak, nonatomic) IBOutlet UIButton *btnLevel;
@property (weak, nonatomic) IBOutlet UIButton *btnOpenVip;

@property (weak, nonatomic) IBOutlet UILabel *labDesc;

@property (weak, nonatomic) IBOutlet UILabel *labLabels;

@property (weak, nonatomic) IBOutlet UIImageView *imgSex;

@property (weak, nonatomic) IBOutlet UIButton *btnDS;

@property (weak, nonatomic) IBOutlet UIButton *btnAge;
@property (weak, nonatomic) IBOutlet UIButton *btnCity;

@property (weak, nonatomic) IBOutlet UIButton *btnQQ;

@property (weak, nonatomic) IBOutlet UIView *viewNums;

@property (weak, nonatomic) IBOutlet UIButton *btnNum1;
@property (weak, nonatomic) IBOutlet UIButton *btnNum2;
@property (weak, nonatomic) IBOutlet UIButton *btnNum3;
@property (weak, nonatomic) IBOutlet UIButton *btnNum4;



@property (weak, nonatomic) IBOutlet UIButton *btnZanYellow;

@property (weak, nonatomic) IBOutlet UIButton *btnZanCool;

@property (weak, nonatomic) IBOutlet UIButton *btnTap1;

@property (weak, nonatomic) IBOutlet UIButton *btnTap2;

@property (weak, nonatomic) IBOutlet UIButton *btnTap3;

@property (weak, nonatomic) IBOutlet UIView *viewMenus;

-(void)dataToView:(User *) user with:(UserPageDataType) type;

@end
